package com.aceitunaproject.shared.playerdata;

import java.io.Serializable;


/**
 * Player Shared Class, represents a Player object for Server/Client communications  
 */
public class PlayerData implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = -650786074812102591L;
	private Long id;
	private String name;

	/**
	 * @return the name of the player
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param the player's name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param id the player's id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the player's id
	 */
	public Long getId() {
		return id;
	}
	
}
